// private Integer id;
// private Integer userId;
// private Integer friendId;
// //    state：1：正常 2：对方删除了你
// private Short state;
// private String nickname;
// private LocalDateTime createTime;
// private LocalDateTime changeTime;
// private String lastMessage;
// private String image;
export default class Friend{
  //t.id,t.username,t.token
  id: number;
  userId:number;
  friendId:number;
  state: number;
  nickname: string;
  createTime: string;
  changeTime: string;
  lastMessage: string;
  image: string;

  constructor(a,b,c,d,e,f,g,h,j) {
    this.id=a;
    this.userId=b;
    this.friendId=c;
    this.state=d;
    this.nickname=e;
    this.createTime=f;
    this.changeTime=g;
    this.lastMessage=h;
    this.image=j;
  }
}